﻿namespace ExplainDIToKid
{
    public interface IFoodSupplier
    {
        string GetFood();
    }

    public class RiceSupplier : IFoodSupplier
    {
        public string GetFood()
        {
            return "rice";
        }
    }

    public class NoddleSupplier : IFoodSupplier
    {
        public string GetFood()
        {
            return "Noddles";
        }
    }
}